<?php
/**
 * Created by PhpStorm.
 * User: skytop
 * Date: 2016/7/23
 * Time: 0:06
 */

namespace Admin\Model;


use Think\Model;

class UserModel extends Model
{
    protected $_validate=array(
        array('username','require','请填写用户名'),
        array('password','require','请填写密码'),
        array('username','','用户已经存在',0,'unique',1)
    );
}